package org.colafries.admin.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author colafries
 * @version v1.0
 * @ClassName DataModelConfigReqVO
 * @Description
 * @date Created in 2024/5/7
 **/
@Data
@Builder
public class DataModelConfigReqVO {
    @ApiModelProperty(value = "模型id")
    @NotNull(message = "模型id不能为空")
    private Integer modelId;
    @ApiModelProperty(value = "模型配置列类型", dataType = "Integer", example = "1 dimension/2 measure")
    private Integer modelColumnType;
    @ApiModelProperty(value = "物理字段名")
    private String field;
    @ApiModelProperty(value = "列别名")
    private String alias;
}
